//
// Rectangle.cpp for Rectangle in /tmp/noboa-y-global/yn
//
// Made by maxime marie
// Login   <marie_m@epitech.net>
//
// Started on  Fri Apr 20 14:57:36 2012 maxime marie
// Last update Fri Apr 20 15:24:07 2012 youri noboa
//

#include	"Triangle.hh"

namespace	Primitive
{
  void		Rectangle::initialize(void)
  {
  }

  void		Rectangle::update(gdl::GameClock const &gameClock, gdl::Input &input)
  {
    (void)gameClock;
    (void)input;
  }

  void		Rectangle::draw(void)
  {
    glBegin(GL_QUADS);
    glColor3f(1.0f, 0.50f, 0.75f);
    glVertex3f(-150.0f, 100.0f, 0.0f);
    glVertex3f(-150.0f, -100.0f, 0.0f);
    glVertex3f(150.0f, -100.0f, 0.0f);
    glVertex3f(150.0f, 100.0f, 0.0f);
    glEnd();
  }
}
